import storage from '../utils/storage'

export default {
  saveUserInfo(state,userInfo){
    state.userInfo=userInfo;
    storage.setItem('userInfo',userInfo)
  },
  saveManageList(state,manageList){
    state.manageList=manageList;
    storage.setItem('manageList',manageList)
  }, 
  saveIndexList(state,indexList){
    state.indexList=indexList;
    storage.setItem('indexList',indexList)
  },
}